package kgame5.enginex.event {
import flash.events.Event;

/**
 * @author kk
 * 游戏视图发出的事件。
 */
public class GUViewEvent extends Event{
	public static const TYPE:String="guViewEvent";
	//___________________Property_____________________
	
	//这两个，参考pureMVC Inotifycation.getName(),getBody();
	public var name:String;//具体名称
	public var data:Object;//值
	//____________________Method__________________
	public function GUViewEvent(p_name:String,p_data:Object=null){
		super(TYPE);
		name=p_name;
		data=p_data;
	}
	public override function clone():Event{
		return new GUViewEvent(name,data);
	}
}
}

